<meta http-equiv="Content-Type" content="text/html; charset=utf8">
<LINK REL="stylesheet" HREF="../../templates/css/style.css" TYPE="text/css">
<LINK rel="stylesheet" href="../../templates/css/dialog.css" type="text/css">
<script language="javascript" src="../../templates/js/tab.js"></script>
<script language="javascript" type="text/javascript" src="{base_ipurl}lib/cate.js"></script>
<script language="javascript" type="text/javascript">
<!--
var oTabs = new Object() ;
function check_form()
{
obj = document.add_news.ch_headline;
if( document.add_news.mem_id.value == "")
{
   alert("請輸入賬號!");
   return false;
}
if( document.add_news.name.value == "")
{
   alert("請輸入姓名!");
   return false;
}

if( document.add_news.pass.value ==""||document.add_news.pass.value!=document.add_news.pass2.value)
{
   alert("密碼有誤或為空!");
   return false;
}

obj_form = document.add_news;
obj_form.cate_id.value = cur_value;
obj.submit;
} //End fun
//-->
//多圖片上传代码
function add_inp(){ 
	newInp = document.createElement("input") 
	newInp.setAttribute("type","file") 
	newInp.setAttribute("name","upfile[]") 
	div1.appendChild(newInp) 
	newInp = document.createElement("br") 
	div1.appendChild(newInp) 
} 
function del_inp(){ 
	childlen=div1.childNodes.length 
	childlen-- 
	div1.removeChild(div1.childNodes[childlen]) 
	childlen-- 
	div1.removeChild(div1.childNodes[childlen]) 
} 

</script>
<table width="98%" border="0" class="table2">
<tr>
<td>管理中心 - 會員管理 - 添加高級管理員</td>
</tr>
</table>
<form method="post" name="add_news" onsubmit="return check_form()" enctype="multipart/form-data" >
<table cellpadding=0 cellspacing=3 width=98% align="center" style="border:1px solid #A5ADC4">
<input type=hidden name=add value=1 />     
<tr id="chinese">
<th colspan="2">
<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tr>
  <td width="13%" align="right" ><b>帳號: </b></td>
  <td width="88%"><input name="mem_id" type="text" value="" style="width:200px;" maxlength="30" /></td>
</tr>

 <tr>
	<th width="13%" align="right">密碼:</th>
	<td width="88%"><input name="pass" type="password" value="" style="width:200px;" maxlength="30" /></td>
  </tr>
  
   <tr>
	<th width="13%" align="right">確認密碼:</th>
	<td width="88%"><input name="pass2" type="password" value="" style="width:200px;" maxlength="30" /></td>
  </tr>

  <tr>
	<th width="13%" align="right">姓名:</th>
	<td width="88%"><input name="name" type="text" value="" style="width:200px;" maxlength="30" /></td>
  </tr>

  <tr>
	<th align="right" valign="top">備註:</th>
	<td><input name="note" type="text" value="" style="width:200px;" maxlength="30" /></td>
  </tr>

    <td colspan="2"><div align="left" style="padding-left:150px;">
  <input type="hidden" name="cate_id" value="" />
  <input name="btn_sub" type="submit" id="btn_sub" value="確 定" class="bot" />
  <input name="reset" type="reset" id="reset" value="重 填" class="bot" />
  <input name="btn_ret" type="button" id="btn_ret" value="返 回" onclick="location.href='?action=news'" class="bot" />
    </div></td>
  </tr>
  </table>
  </th>
</tr>
<!--英文-->
<!--
<tr id="english">
<th colspan="2">
<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tr>
  <td width="13%" align="right" ><b>英文标题: </b></td>
  <td width="88%"><input name="en_headline" type="text" value="{en_headline}" /></td>
</tr>
<tr>
	<th width="13%" align="right">英文来源:</th>
	<td width="88%"><input name="en_source" type="text" id="ZH" value="KingRoad" /></td>
</tr>
<tr>
	<th align="right" valign="top">英文内容:</th>
	<td>{ENGLISH_EDIT}</td>
</tr>
   <td colspan="2"><div align="center">
  <input name="btn_sub" type="submit" id="btn_sub" value="确 定" class="bot" />
  <input name="reset" type="reset" id="reset" value="重 填" class="bot" />
  <input name="btn_ret" type="button" id="btn_ret" value="返 回" onclick="location.href='?action=news'" class="bot" />
    </div></td>
  </tr>
  </table>
  </th>
</tr>
-->
 </table>
</form>
<script type="text/javascript" language="javascript">
<!--   
   //AddTab("chinese", '活動發布', false );
   //AddTab("english", '英文资料', false ); 
   SetSelectedTab("chinese");
//-->
</script>
